import {ElMessage, ElMessageBox} from "element-plus";
import * as eleIcons from '@element-plus/icons-vue';
import _ from 'lodash';

export function setupGlobalMethods(app) {
    app.config.globalProperties.$message = ElMessage;
    app.config.globalProperties.$confirm = ElMessageBox.confirm;
    app.config.globalProperties.Reflect = Reflect;
    app.config.globalProperties.$icons = eleIcons;
    app.config.globalProperties._ = _;
}